Release 10.1A: OpenEdge Development:
Progress 4GL Reference


END statement

Indicates the end of a block started with a CASE, DO, FOR EACH, PROCEDURE, or REPEAT statement or the end of an EDITING phrase or TRIGGER phrase.

Syntax

END 

Example

This procedure contains two blocks, each ending with the END statement:

r-end.p
FOR EACH customer:
  DISPLAY customer.cust-num name phone.
  FOR EACH order OF customer:
    DISPLAY order WITH 2 COLUMNS.
  END.
END. 

Notes

See also

CASE statement, DO statement, EDITING phrase, FOR statement, PROCEDURE statement, REPEAT statement, Trigger phrase


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095